﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DangNhap.aspx.cs" Inherits="ExampleCallWs.DangNhap" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="style/s.css" rel="stylesheet" type="text/css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="pnDangNhap" runat="server">
        <div><span> Đăng nhập dùng tài khoản Webservice</span></div>
        <div>
            <div>
                <label>Tên đăng nhập:</label>
                <asp:TextBox ID="txtTenDangNhap" runat="server"></asp:TextBox>
            </div>
             <div>
                <label>Mật khẩu:</label>
                <asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password"></asp:TextBox>
            </div>
             <div>
                <label></label>
                 <asp:LinkButton ID="btnDangNhap" runat="server" onclick="btnDangNhap_Click">Đăng nhập</asp:LinkButton>
            </div>
        </div>
        </asp:Panel>

        <asp:Panel ID="pnLayDanhSachSanPham" runat="server" Visible="False">
            <asp:Button ID="btnLayDanhSachSanPham" runat="server" 
                Text="Lấy danh sách sản phẩm" onclick="btnLayDanhSachSanPham_Click" />

        <asp:GridView ID="grdDanhSachSanPham" runat="server">
        </asp:GridView>
        <div>
            <asp:LinkButton ID="lnkThoat" runat="server" onclick="lnkThoat_Click">Thoát</asp:LinkButton>
        </div>
        </asp:Panel>

        <asp:Panel ID="pnDonHang" runat="server" Visible="False">
            <asp:Button ID="btnLayThongTinDonHang" runat="server" 
                Text="Lấy danh sách đơn hàng" onclick="btnLayThongTinDonHang_Click" />

        <asp:GridView ID="grdDonHang" runat="server">
        </asp:GridView>
        </asp:Panel>





        <asp:Panel ID="pnLoi" runat="server">
        <div>
            <asp:Label ID="lbLoi" runat="server"></asp:Label>
        </div>
        <div>
            <asp:Label ID="lbChiTiet" runat="server"></asp:Label>
        </div>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
